package com.example.frameboot.been;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhujy7@centaline.com.cn
 * @description 分页
 * @date 2020/1/8 15:22
 */
@Data
public class PageReq {
    @ApiModelProperty(value = "页码，默认值1", name = "pageIndex", required = false, example = "1", position = 500)
    private Integer pageIndex = 1;

    @ApiModelProperty(value = "每页多少条数据，默认值10", name = "pageSize", required = false, example = "10", position = 600)
    private Integer pageSize = 10;

}
